#include "IntermitentText.h"

using namespace std;

IntermitentText::IntermitentText(GameState *gameState) : GameText(gameState){
	
}

void IntermitentText::update(double dt){
	double time = m_gameState->getCurrentScreen()->getTime();
	m_color[3] = ((float)sin(time*2) + 1.0f) / 2.0f;
}

